package com.jthinker.bean.enu;

public enum ResourceType implements Dict
{
    MENU(0, "菜单"), BUTTON(1, "按钮");

    private int key;
    private final String text;

    ResourceType(int key, String text)
    {
        this.text = text;
        this.key = key;
    }

    @Override
    public int getKey()
    {
        return key;
    }

    @Override
    public String getText()
    {
        return text;
    }
}